package com.dao;

import java.util.List;

import com.bean.Tuser;

public interface TuserDao {
	//查找所有用户
	public List<Tuser> findAllUser();
	//根据id查找用户
	public List<Tuser> finUserById(int id);
	//添加用户
	public void insertToTuser(Tuser tuser);
	//根据id更改用户数据
	public void updateTuser(Tuser t);
	//根据id删除用户
	public void deleteById(int id);
}
